package com.xhsj.user.sms.purchase.query;

import com.xhsj.user.sms.purchase.entity.TbPurchaseOrderFile;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:供应链部内签合同会签合同上传合同文件
 * @Data:2020/5/21
 */
@Data
public class UploadContractFileQuerySms extends PurchaseOrderQuerySms {
    /**
     * 支付申请id
     */
    private String payMentId;
    /**
     * 付款金额
     */
    private BigDecimal paymentMoney;

    /**
     * 批次 0 全款 1 预付款 2 二期款 3 尾款
     */
    @NotNull(message = "批次batch不能为空")
    private Integer batch;

    @NotNull(message = "比例不能为空")
    private Integer proportion;

    //总金额
//    @NotNull(message = "totalMoney总金额不能为空")
    private  BigDecimal totalMoney;

    //合同
    @NotNull(message="tbPurchaseOrderFileList采购订单文件不能为空")
    private List<TbPurchaseOrderFile> tbPurchaseOrderFileList;

//    @NotBlank(message = "purchaseOrderId订单id不能为空")
    private String purchaseOrderId;
}
